package com.k.demo.service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.k.demo.entity.GoodOrderDetail;

public interface GoodOrderDetailService {


	//批量插入订单明细数据
	boolean insertForeach(List<GoodOrderDetail> goodOrderDetailList);
	
	//查找订单明细数据
	List<GoodOrderDetail> getDetails(Integer orderid);
	
	int getSaleNumberByDate(String date);
	
	List<GoodOrderDetail> getFoodSaleNumber(String date);
	
	int getSaleNumberToday();
	
	List<GoodOrderDetail> getFoodSaleNumberToday();
	//月销量
	int getFoodMonthSaleNumber(int food_id);
	
	List<GoodOrderDetail> getFoodSaleNumberByTime(String start_date,String end_date);
	
	List<HashMap<String, Object>> getFoodSaleNumberByKind(String start_date,String end_date);
}
